<%= flash[:notice] %>
<% form_tag do -%>

<p><label for="old_password">Old Password</label><br/>
<%= password_field_tag 'old_password', @old_password %></p>

<p><label for="password">Password</label><br/>
<%= password_field_tag 'password' %></p>

<p><label for="password_confirmation">Confirm Password</label><br/>
<%= password_field_tag 'password_confirmation' %></p>

<p><%= submit_tag 'Change password' %></p>
<% end -%>
